package com.nexus.ai.gpt.chat;

import com.nexus.ai.gpt.BaseChatClient;
import com.nexus.ai.gpt.domain.NexusChatConfig;
import org.springframework.ai.chat.client.ChatClient;
import org.springframework.ai.chat.memory.ChatMemory;
import org.springframework.stereotype.Service;

/**
 *  
 * @Date 2025/9/27 19:06
 * @Author luzhengning
 **/
@Service
public class AiCustomerChatService extends BaseChatClient {

    @Override
    protected NexusChatConfig initialChatConfig(NexusChatConfig chatConfig) {
        return chatConfig.build("你是一名销售下单助手");
    }

    /**
     * 初始化大模型客户端
     *
     * @param chatClientBuilder
     * @param chatMemory
     * @Date 2025/9/27 21:56
     * @Author luzhengning
     */
    public AiCustomerChatService(ChatClient.Builder chatClientBuilder, ChatMemory chatMemory) {
        super(chatClientBuilder, chatMemory);
    }




}
